package com.study.mybatis;

import com.study.mybatis.entity.Blog;
import com.study.mybatis.mapper.BlogMapper;
import com.study.mybatis.session.SqlSession;

public class Test {
    public static void main(String[] args) {
        SqlSession session = new SqlSession();
        BlogMapper blogMapper = session.getMapper(BlogMapper.class);
        Blog blog = blogMapper.selectBlogById(1);
    }
}
